package com.conversationboard.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.conversationboard.site.Site;

@WebServlet(name = "NewAnswerControllerServlet", urlPatterns = "/NewAnswerControllerServlet")
public class NewAnswerControllerServlet extends HttpServlet {

	private static final long serialVersionUID = 7648596109056869822L;


	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

		Site.incrementPageHitCount();

		NewAnswer newAnswer = new NewAnswer();
		newAnswer.doPost(request, response);

	}

}
